package com.lingxu.base.system.manage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lingxu.base.system.manage.entity.MenuTree;
import com.lingxu.base.system.manage.entity.SysUserMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface SysUserMenuMapper extends BaseMapper<SysUserMenu> {


    void removeAllByUserId(@Param("userid") String userid);

    List<MenuTree> queryExistMenuTreeByUserid(@Param("userid")String userid);


    List<MenuTree> queryNotExistMenuTreeByUserid(String userid);

}
